#ifndef __GEOMETRY_UTILS_H__
#define __GEOMETRY_UTILS_H__

#include "cocos2d.h"
#include "Box2D/Box2D.h"
#include "Constants/PhysicsConstants.h"

class GeometryUtils
{
	public:
		static b2Vec2 convertCCPointToB2Vec2(cocos2d::CCPoint ccPoint);
		static cocos2d::CCPoint convertB2Vec2ToCCPoint(b2Vec2 point);
		static float determinant(b2Vec2 u, b2Vec2 v, b2Vec2 w);
		static bool hasOneEdgeShared(b2PolygonShape* shape1, b2PolygonShape* shape2);
};
#endif  // __GEOMETRY_UTILS_H__